package TopInterview;

/**
 * @author Alger
 * @date 2021/6/1  17:09
 */
public class day_01 {
    public static void main(String[] args) {
        maxProfit(new int[]{7,1,5,3,6,4});
    }
    public static int maxProfit(int[] prices) {
        for (int i = 0; i < prices.length; i++) {
            for (int j = 0; j < prices.length-i-1; j++) {
                System.out.print(prices[j]);
            }

        }
        return 0;
    }
}
